<!DOCTYPE html>
<html>
<include file="Public:header" />
<body>
<form action="{:U('channel/edit_')}" method="post" class="definewidth m20">

    <table class="table table-bordered table-hover definewidth m10">
        <input type="hidden" name="id" value="{$data['id']}">
        <tr>
            <td width="10%" class="tableleft">公司名称</td>
            <td><input type="text" name="name" value="{$data.name}"  /></td>
        </tr>
        <tr>
            <td class="tableleft">渠道号</td>
            <td><input type="text" name="id2" value="{$data.id}" disabled="disabled" /></td>
        </tr>
        <tr>
            <td class="tableleft">铃音id</td>
            <td><input type="text" name="track_id" value="{$data.track_id}" /></td>
        </tr>
        <tr>
            <td class="tableleft">整曲id</td>
            <td><input type="text" name="content_id" value="{$data.content_id}" /></td>
        </tr>
        <tr>
            <td class="tableleft">同步地址</td>
            <td><input type="text" name="sync_url" value="{$data.sync_url}" /></td>
        </tr>
        
       
      
        <tr>
            <td class="tableleft"></td>
            <td>
                <button type="submit" class="btn btn-primary" type="button">保存</button>				 &nbsp;&nbsp;<button type="button" class="btn btn-success" name="backid" id="backid">返回列表</button>
            </td>
        </tr>
    </table>
</form>
</body>
</html>
<script>
    $(function () {       
		$('#backid').click(function(){
				window.location.href="{:U('channel/list_',array('product'=>$product))}";
		 });

    });
</script>